package com.sxhuayuan.parking.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 发票抬头 与用户一对一关系
 * @author helong
 * @create 2019-08-28 14:45
 */
@Entity
@Getter
@Setter
@Table(name = "hypk_invoice_title")
public class InvoiceTitle extends BaseEntity {
	/** 购方名称 */
	private String name;
	/** 税号 企业要填，个人 可为空 */
	private String taxnum;
	/** 手机号 */
	private String phone;
	/** 地址 */
	private String address;
	/** 银行账户 */
	private String account;
	/** 发票开具成功后通知的邮箱 */
	private String email;

	@Column(nullable = false,length = 50)
	public String getName() {
		return name;
	}

	@Column(length = 30)
	public String getTaxnum() {
		return taxnum;
	}

	@Column(length = 15)
	public String getPhone() {
		return phone;
	}

	@Column(length = 30)
	public String getAddress() {
		return address;
	}
	@Column(length = 30)
	public String getAccount() {
		return account;
	}
	@Column(length = 50)
	public String getEmail() {
		return email;
	}
}
